import * as API from './index'
//登录
export const login = (data) => {
    return API.POST('/signin', data)
}
export const thirdLogin = (data) => {
    return API.POST('/oauth/login', data)
}
export const weiboLogin = (data) => {
    return API.POST('/oauth/weiboLogin', data)
}
//注册
export const signup = (data) => {
    return API.POST('/signup', data)
}